import Vue from 'vue'
import Vuex from 'vuex'

import flow from './modules/flow'
import invoice2 from './modules/invoice2'
import flowInvoice from './modules/flow-invoice'
import manualNegativeInvoice from './modules/manualNegativeInvoice'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    flow,
    invoice2,
    flowInvoice,
    manualNegativeInvoice,
  },
  state: {
    viewWidth: 0
  },
  mutations: {
    ChangeViewWidth(state, val) {
      state.viewWidth = val;
  },
  },
  actions: {

  },
//   getters
})
